Image processing

ABSTRACT

Method of processing a digital image comprising increasing the sample resolution of the digital image from a predetermined resolution including neighbouring sample points to an increased resolution including intermediate sample points between adjacent of the neighbouring sample points, and populating each of the intermediate sample points depending on the influence of a predetermined number of the neighbouring sample points, wherein the influence of the predetermined number of neighbouring points are weighted substantially proportional to the proximity of the neighbouring sample points relative to the respective intermediate sample points. Also a computer or device-readable medium and a computer system.

TECHNICAL FIELD

1. The present invention relates broadly to a method of processing a digital image. The invention also relates broadly to a computer or device-readable medium for processing a digital image, and a computer system for processing a digital image.

BACKGROUND ART

2. Digital image processing falls broadly into two fields of application, namely improving pictorial information for interpretation by the eye, and processing a digital signal representative of an image by applying signal processing techniques to it. The present application is concerned with image signal-processing techniques typically implemented in software. Image processing techniques are generally based on Fourier transforms which transform signals between the time or spatial domain to the frequency domain. In mathematically processing image signals it is more convenient to operate in the frequency domain. In filtering a digital image the filter may be applied to the image by convolution in the time domain. This convolution is mathematically demanding but can be performed more simply in the frequency domain by using the relevant Fourier transforms.

SUMMARY OF INVENTION

3. According to a first aspect of the invention there is provided a method of

processing a digital image, said method comprising the steps of;

increasing the sample resolution of the digital image from a predetermined resolution including neighbouring sample points to an increased resolution including intermediate sample points between adjacent of the neighbouring sample points;

populating each of the intermediate sample points depending on the influence of a predetermined number of the neighbouring sample points, the influence of the predetermined number of neighbouring points being weighted substantially proportional to the proximity of the neighbouring sample points relative to the respective intermediate sample points.

4. Preferably the digital image includes a grid of pixels each located at respective of the neighbouring sample points and arranged in m columns and n rows. More preferably the step of increasing the sample resolution involves enlarging the digital image in at least one of orthogonal x, y axes to expose additional pixels at each of the intermediate sample points to provide an enlarged grid including am columns and bn rows where a and b represents the expansion factors in the x and y axes, respectively.

5. Preferably the step of populating each of the intermediate sample points involves (i) representing one of the neighbouring sample points by a waveform indicative of the neighbouring sample point and oriented in a z-axis substantially orthogonal relative to the grid of pixels (ii) rotating the indicative waveform about the neighbouring sample point to intersect with the intermediate sample point (iii) deriving a weighted value for that neighbouring sample point from its intersection value at the intermediate sample point. More preferably each of the indicative waveforms is represented in the spatial domain by a mathematical function and the waveforms are each symmetrical either side of the respective neighbouring sample point. Alternatively the indicative waveforms are symmetrical either side of a point midway between the respective neighbouring sample point and the intermediate sample point. Even more preferably the step of populating each of the intermediate sample points involves combining the weighted values for the indicative waveforms of the predetermined number of neighbouring sample points.

6. Alternatively the step of populating each of the intermediate sample points involves (i) representing each of the respective intermediate sample points by a hypothetical waveform indicative of one of the neighbouring sample points and oriented in a z-axis substantially orthogonal relative to the grid of pixels (ii) rotating the hypothetical waveform about the intermediate sample point to intersect with the neighbouring sample point (iii) deriving a weighted value for that neighbouring sample point from its intersection value. In this embodiment each of the hypothetical waveforms is represented in the spatial domain by a mathematical function and the waveforms are each symmetrical either side of the intermediate sample point. Alternatively the hypothetical waveforms are expanded in the space domain. In these embodiments the step of populating the intermediate sample points involves combining the weighted values for the hypothetical waveforms of the predetermined number of the neighbouring sample points.

7. Preferably the method also comprises the steps of:

providing a digital filter having a sample resolution substantially the same as the predetermined resolution of the digital image, said filter including a mid-point sample and a plurality of neighbouring sample points either side of the mid-point sample;

applying the digital filter to the digital image where:

-   -   (i) the mid-point sample of the filter is applied to a         corresponding sample point of the image;     -   (ii) the neighbouring sample points of the filter are applied to         respective of the intermediate sample points, or the         neighbouring sample point, of the signal.

More preferably the filter is expanded in the spatial domain prior to its application to the image. Even more preferably the filter is expanded by an expansion factor which is a whole number greater than one (1) and is typically two (2).

8. Preferably the step of applying the filter involves applying said filter at an adjusted sampling rate inversely proportional to the expansion factor. More preferably the filter is applied to the neighbouring sample points as a dot product at half (½) the predetermined resolution.

9. Preferably the method also comprises the step of resizing or reshaping the image by deleting one or more neighbouring or intermediate sample points of the enlarged grid according to a predetermined sizing, or reshaping algorithm. More preferably this resizing or reshaping involves deletion of one or more of the am columns and/or bn rows of the enlarged grid. Alternatively or additionally the method comprises shifting the enlarged digital image by translating predetermined of the neighbouring sample points from existing locations in the enlarged grid to target locations in the enlarged grid according to a predetermined shifting algorithm. Even more preferably the sizing and/or shifting algorithms are in the form of filters.

10. Preferably the waveforms or their waveform components are represented by absolute results of a cosine function in the spatial domain substantially limited to half a cycle at its mid-point. Alternatively the indicative or hypothetical waveforms or components are represented by a sine function of positive values only in the spatial domain. More preferably the waveforms or their components are each modified by applying an averaging curve having a width adjusted proportional to the wavelength of the respective waveform or component.

11. Preferably the method also comprises a preliminary step of zoning the image into resolution zones and combining values for two or more of the neighbouring sample points for select zones having relatively low frequency content to provide a modified zone having substantially the same number of sample points as the select zone. More preferably the step of combining values involves combining two or more common sample points from the neighbouring sample points of the select zone to provide the modified zone having the same number of sample points.

12. According to a second aspect of the invention there is provided a computer or device-readable medium including instruction for processing a digital image, said instructions when executed by a processor cause said processor to:

increase the sample resolution of the digital image from a predetermined resolution including neighbouring sample points to an increased resolution including intermediate sample points between adjacent of the neighbouring sample points:

populate each of the intermediate sample points depending on the influence of a predetermined number of the neighbouring sample points, said influence being weighted substantially proportional to the proximity of the neighbouring sample points relative to the respective intermediate points.

13. According to a third aspect of the invention there is provided a computer system for processing a digital image, said system comprising a processor configured to:

increase the sample resolution of the digital image from a predetermined resolution including neighbouring sample points to an increased resolution including intermediate sample points between adjacent of the neighbouring sample points;

populate each of the intermediate sample points depending on the influence of a predetermined number of the neighbouring sample points, said influence being weighted substantially proportional to the proximity of the neighbouring sample points relative to the respective intermediate points.

BRIEF DESCRIPTION OF DRAWINGS

14. In order to achieve a better understanding of the nature of the present invention a preferred embodiment of a method of digitally processing an image will now be described, by way of example only, with reference to the accompanying drawings in which:

FIG. 1 is a schematic illustration of a technique involved in processing a digital image according to an embodiment of the invention;

FIG. 2 is a schematic cutaway view of part of the image of FIG. 1;

FIG. 3A is graph depicting a waveform used in processing the digital image of the preceding figures according to one technique;

FIG. 3B is a graph depicting a waveform used in processing the digital image according to another technique;

FIG. 4 is a graph of an alternative representative waveform obtained by combining square-wave components;

FIGS. 5A and 5B are alternative waveform components used to obtain waveforms for calculating weightings;

FIG. 6 is a schematic illustration of a preliminary step involved in processing of the digital image in the preferred embodiment of this invention;

FIG. 7 is a schematic illustration of a filter suitable for application to the digital image according to an embodiment of the invention;

FIG. 8 is a schematic illustration of the application of the filter of FIG. 7 to the digital image;

FIG. 9 is a schematic representation of the application of a filter to a digital image according to another embodiment of the invention;

FIG. 10 is a schematic illustration of the application of the filter of FIG. 7 to the digital image at an adjusted sampling rate;

FIG. 11 is a schematic topographic view of an exemplary image filter constructed in accordance with an embodiment of the invention;

FIG. 12 is a schematic topographic map of a further image filter constructed in accordance with a further embodiment of the invention;

FIG. 13 is a schematic topographic view of another image filter constructed in accordance with another embodiment of the invention;

FIG. 14 is a schematic topographic view of yet another image filter constructed in accordance with yet another embodiment of the invention.

DESCRIPTION OF EMBODIMENTS

15. The present invention is directed broadly to a method of processing a digital image typically rendered in the form of a grid of pixels arranged in m columns and n rows. The image processing may be performed in the course of one or more image manipulation operations including rotating, translating, enlarging, or reducing an image. The image processing may be embodied in computer program code or software such as a plugin. The computer code or software is stored on a memory device with computer executable instructions that cause the computer to execute certain functions as described. The preferred embodiments are described in the context of a 2D image although the principles equally apply to rendering of the image in 3D. Although the preferred embodiment is described in the context of still digital images, the invention is to extend to digital video. In video the techniques described in the preferred embodiments are equally applicable where the video can be considered multiple frames or samples of still images.

16. In the preferred embodiment of FIGS. 1 and 2 the digital image is represented or rendered at least in part by a grid of pixels 10 arranged in m columns and n rows where m and n each equal seven. The solid circles or dots each represent neighbouring sample points 12 for the pixel grid 10. The sample resolution of the digital image is broadly defined by the number of neighbouring sample points 12 within a space occupied by the image or in this case 49 pixels.

17. In this example the sample resolution is increased by including intermediate sample points between adjacent of the neighbouring sample points such as 12 a to 12 d. For ease of understanding the sample resolution is increased by inserting one additional column and row of sample points between adjacent columns and rows of the grid of pixels 10. Each grid position within the additional columns and rows is allocated an intermediate sample point such as 14 a. In practice it is likely that the sample resolution increase and number of intermediate sample points will be significantly greater in order to achieve suitable image resolution. Increasing the sample resolution effectively means enlarging the digital image in both its orthogonal x and y axes to expose additional pixels at each of the intermediate sample points such as 14 a. The resulting enlarged grid at the increased sample resolution will include am columns and bra rows where a and b represents the expansion factors. This means the enlarged grid of this example includes 2×7 or 14 columns, and 2×7 or 14 rows. This equates to an additional 147 intermediate sample points.

18. The intermediate sample points such as 14 a in the enlarged grid are each populated depending on the influence of a predetermined number of the neighbouring sample points 12. In this case the intermediate sample point 14 a is deemed to be influenced by all of the neighbouring sample points 12 in the grid 10. Each of the predetermined neighbouring points, such as 12 e shown in the corner of the grid 10, has a weighted influence on the intermediate sample point 14 a substantially proportional to its relative proximity to that point 14 a. In this embodiment the weighted influence of the neighbouring sample points 12 is determined by one of two techniques, namely (1) combining values at the intermediate sample point, or (2) combining values at each of the predetermined neighbouring sample points.

19. FIG. 3A schematically illustrates the first technique where each of the neighbouring sample points such as 12 e is represented by a waveform 16 e indicative of that sample point and oriented in a z-axis substantially orthogonal to the grid of pixels 10. The indicative waveform 16 e is centred at and rotated about the corresponding sample point 12 e to intersect with the intermediate sample point 14 a. The intersection value 17 e is thus determined at the intermediate sample point 14. These steps are repeated for each of the predetermined neighbouring sample points 12 of the grid 10 to derive weighted values for each of the neighbouring sample points at their intersection with the intermediate sample point 14. The intermediate sample point is then populated with the combined weighted values for the indicative waveforms such as 16 e of the respective predetermined neighbouring points 12 e.

20. FIG. 3B illustrates the second technique where the intermediate sample points such as 14 a are each represented by a hypothetical waveform such as 18 e indicative of one of the predetermined neighbouring sample points such as 12 e. The hypothetical waveform 18 e is oriented in a z-axis substantially orthogonal to the grid of pixels 10 in the same manner as the previous technique. The hypothetical waveform 18 e is centred at and rotated about the intermediate sample point 14 a to intersect with the relevant neighbouring sample point such as 12 e. The intersection of the hypothetical waveform 18 e at the neighbouring sample point 12 e provides a weighted value 19 e for that neighbouring point. These steps are repeated for each of the other predetermined neighbouring sample points 12. The weighted values for the hypothetical waveforms intersecting at the predetermined neighbouring points are combined in order to populate the intermediate sample point such as 14 a.

21. In alternative embodiments the weighted influence may be calculated for each of the intermediate sample points by either of the following techniques involving:

(1) indicative waveforms at respective neighbouring sample points shifted midway to the intermediate sample point with values combined at the intermediate sample point:

(2) indicative waveform at the neighbouring sample point shifted midway to the intermediate sample point with values combined from the neighbouring sample point.

22. The other intermediate sample points within the grid 10 are similarly populated using either of these techniques. In either case the indicative or hypothetical waveforms 16 or 18 are in this embodiment constructed at least in part from cosine components represented by absolute results of a cosine function in the spatial domain substantially limited to half a cycle at its mid-point. The half-cycle cosine components are summed across the relevant frequency range and this is represented in the computational software program Mathematica as follows:

${If}\left\lbrack {{\sqrt{x^{2} + y^{2}} < \frac{1}{4\; {lpf}}},{\int_{0}^{lpf}{\frac{{Cos}\left\lbrack {2\pi \sqrt{x^{2} + y^{2}}{componentFreq}} \right\rbrack}{\left( {\int_{- \frac{1}{\text{?}\; {component}\; {Freq}}}^{\frac{1}{\text{?}\; {component}\; {Freq}}}{{{Cos}\left\lbrack {2\pi \sqrt{x^{2} + y^{2}}{component}\; {Freq}} \right\rbrack}{d\left( \sqrt{x^{2} + y^{2}} \right)}}} \right)}d\; {component}\; {Freq}}},{\int_{0}^{\frac{1}{4\sqrt{x^{2} + y^{2}}}}{\frac{{Cos}\left\lbrack {2\pi \sqrt{x^{2} + y^{2}}{component}\; {Freq}} \right\rbrack}{\left( {\int_{- \frac{1}{\text{?}{component}\; {Freq}}}^{\frac{1}{\text{?}\; {component}\; {Freq}}}{{{Cos}\left\lbrack {2\pi \sqrt{x^{2} + y^{2}}{component}\; {Freq}} \right\rbrack}{d\left( \sqrt{x^{2} + y^{2}} \right)}}} \right)\ }\ d\; {componentFreq}}}} \right\rbrack$ ?indicates text missing or illegible when filed

23. Where x and y are Cartesian coordinates for the intermediate sample point relative to the neighbouring sample point and lpf is equivalent to the Nyquist frequency for the image pixels.

24. Alternatively the indicative or hypothetical waveforms are constructed from the following components:

(1) Sine functions for absolute values represented in the spatial domain;

(2) Sine functions for values in the spatial domain from zero (0) to positive infinity only;

(3) Sinc functions (sum of cos components) for values in the spatial domain from zero (0) to positive infinity only;

25. The waveform components may also be represented by absolute results of a square wave function in the spatial domain substantially limited to half a cycle. The half-cycle square-wave components are summed across the relevant frequency range and this is shown in FIG. 4 and represented in Mathematica as follows:

${If}\left\lbrack {{x < \frac{1}{4\mspace{14mu} {lpfHighest}}},{\int_{0}^{lpfhighest}{{lpf}{{lpf}}}},{\int_{0}^{\frac{1}{4x}}{lpfdlpf}}} \right\rbrack$ ${If}\left\lbrack {{x < \frac{1}{4\mspace{14mu} {lpfHighest}}},\frac{{lpfHighest}^{2}}{2},\frac{1}{32x^{2}}} \right\rbrack$ ${Plot}\left\lbrack {{{{If}\left\lbrack {{{{Abs}\lbrack x\rbrack} < \frac{1}{4\mspace{14mu} {lpfHighest}}},\frac{{lpfHighest}^{2}}{2},\frac{1}{32x^{2}}} \right\rbrack}\operatorname{/.}\left. {lpfHighest}\rightarrow{1/2} \right.},\left( {x,{- 10},10} \right),\left. {PlotRange}\rightarrow{All} \right.} \right\rbrack$

26. The waveform components are each preferably weighted for substantially equal contribution to the indicative or hypothetical waveform. This weighting is shown in the formulae above and may also be approximated as equal areas under each of the waveform component curves. FIGS. 5A and 5B show examples of weighted waveform components for the half cycle cosine function and the square wave function, respectively.

Alternatively the indicative or hypothetical waveforms may be constructed by combining waveforms substantially representing x and y coordinates. The indicative waveform of the first technique is produced at each of the neighbouring sample points by multiplying the indicative waveform representing the x coordinate with the indicative waveform representing the y coordinate. The indicative waveforms of the x and y coordinates are obtained by summing the relevant waveform components for the x and y coordinates respectively. To produce the hypothetical waveform of the second technique at the intermediate sample point, the hypothetical waveform representing the x coordinate is multiplied with the hypothetical waveform representing the y coordinate. The hypothetical waveforms of the x and y coordinates are obtained by summing the relevant waveform components for the x and y coordinates respectively. The weightings are then calculated for the first or second techniques by using intersection values for the indicative waveform(s) or the hypothetical waveform at the intermediate sample point or the neighbouring sample points, respectively.

The filter may be constructed from waveforms or waveform components substantially represented by other mathematical functions. For example, the filter may be represented by the equation:

n*n/((n−lpf x)*(n+lpf x))

where n is a constant depending on the desired shape, and lpf is equivalent to the Nyquist frequency for the image pixels. In this variation the variable x is derived from either:

(1) the square root of the sum of the square of each of the x and y Cartesian coordinate components; or

(2) the x or y component corresponding to the x or y Cartesian coordinates respectively.

29. In the preferred embodiment the image processing comprises a preliminary step of zoning an image such as 20 into resolution zones. This is schematically shown in FIG. 6 where the digital image 20 includes a central zone 22 surrounded by eight neighbouring zones 24 to 38. The central zone 22 of the image 20 is relatively detailed requiring high resolution rendering whereas the neighbouring zones such as 24 are of relatively coarse detail of low frequency content requiring relatively low resolution rendering.

30. In this preliminary step the surrounding low resolution zones 24 to 38 are modified by combining neighbouring sample points such as 24 a to 24 i. The nine neighbouring sample points 24 a to 24 i are combined with sample points from neighbouring zones to provide a modified zone having substantially the same number of sample points, that is nine (9). This is achieved by combining values for overlapping groups of the neighbouring sample points to derive values in the modified zone. The modified value for the central sample point of zone 24 is designated as 24E and so on for other neighbouring sample points within the zone 24. The modified value 24E is derived from the combination of values 24 a to 24 i inclusive and adjusted by a divisor to compensate for the number of samples grouped, in this case nine (9). The values for the neighbouring sample points are in this example summed. The derivation of values for the modified zones necessarily involves sample points from adjacent zones. For example, the modified value 24A in the zone 24 is derived from the combination of values 26 g and 26 h from zone 26; 24 a, 24 b, 24 d, 24 e from zone 24; 22 i from central zone 22; and 38 c, 38 f from zone 38.

31. The modified zones of the image 20 thus have the same number of neighbouring sample points as unmodified zones of the image. This means the grid of the image remains in its original configuration for ease of subsequent image processing such as image filtering. The image may also be zoned without requiring the modified zone to account for the same number of sample points as the zone before modification. The applicant's co-pending US provisional patent application No. 61/974,326 describes these alternative zoning techniques. The disclosures of this US provisional patent application are to be considered included herein by nature of this reference.

32. FIG. 7 is a schematic illustration of part of an enlarged grid 30 derived from the image grid 10 having undergone the sample resolution increase with weighting, according to the described embodiments of FIGS. 1 to 3. The enlarged grid 30 thus includes the neighbouring 12 together with the weighted intermediate 14 sample points. For example, the intermediate sample points 14 b to 14 e surround the central intermediate sample point 14 a.

33. As schematically shown in FIG. 7 the image of the enlarged grid 30 is filtered with a filter 32 representative of the image. In this embodiment a preliminary filter is mathematically represented, at the same sample resolution as the enlarged image, by sine functions (sum of cosine components) with weighting according, to one of the earlier techniques. The filter 32 to be applied to the enlarged image or grid 30 is then constructed by applying the preliminary filter to a hypothetical image represented by binary values (zeros and ones) at the same sample resolution.

34. FIG. 8 schematically illustrates application of the filter 32 to the enlarged grid 30 stepping the filter 32 across the sample points such as 12 a to 12 f of the enlarged image. The filter 32 is applied to the image as a dot product at high resolution with the benefit of the weighted intermediate sample points as described in the preceding paragraphs. The filter 32 is in this example stepped from its intermediate sample point 14 a position in FIG. 7 to its diagonally neighbouring sample point 12 b position although this may vary depending on the algorithm adopted in convolving the filter 32 with the image 30. The filter 32 in FIG. 8 is shown at its full resolution with all intersecting grid lines whereas the image is shown at reduced resolution without the intermediate sample points.

35. FIG. 9 illustrates a variation on this method of convolution where the filter 32 is applied to the image 30. Both the filter 32 and the image 30 may have undergone a sample rate increase according to one of the earlier techniques. The image filter 32 is in this variation expanded prior to application to the image of the enlarged grid 30 as follows;

(1) The mid-point sample 34 of the filter is applied to a corresponding sample point 36 of the image;

(2) Offset sample points such as 38 a to 38 d of the image are defined either side of the corresponding sample point of the image, these offset points being offset relative to respective neighbouring sample points of the filter; and

(3) The neighbouring sample points such as 38A to 38D of the filter are applied to respective of the offset sample points 38 a to 38 d of the image.

36. The filter is applied at its relatively high resolution accounting for the neighbouring and, when a weighted sample rate increase is applied, the intermediate sample points and values. The high resolution filter is expanded to effect offset of its sample points relative to corresponding sample points of the image. The filter as a result of its expansion is in effect applied to the image at an adjusted sampling rate. This adjusted sampling rate is in this case inversely proportional to the expansion factor.

37. Alternatively the sample points of the high resolution filter may be applied to the corresponding sample points of the image as a dot product at an adjusted sampling rate. This is schematically depicted in FIG. 10 where the filter 32 shifts for example to the intermediate sample point 14 f. That is the filter 32 moves across its grid at single filter steps corresponding to the sample rate increase of the filter which offsets it from the neighbouring sample points of the image 30. The applicant's co-pending International patent application No. PCT/AU2014/000325 describes convolution at an adjusted sampling rate primarily in the context of digital audio signals. The disclosures of this PCT application are applicable to digital images and are to be considered included, therein by nature of this reference.

38. The filter may be applied to the image without the offset described in the context of FIGS. 9 and 10. This means the neighbouring sample points of the filter are applied to respective sample points of the image. The filter is in this case applied as a dot product at its regular sampling rate without adjustment.

39. FIGS. 11 to 13 are schematic topographic views of exemplary filters applied to the digital image of the previous embodiments. The filters are applied to the neighbouring sample points of the enlarged image grid 30. The enlarged image grid 30 typically reverts to its original configuration in the form of the image grid 10 by undergoing a sample resolution decrease. This sample resolution decrease is effected by removing the intermediate sample points of the enlarged grid 30. The filters constructed in accordance with the previous embodiments are represented by waveforms or waveform components represented by:

(1) Sine functions for absolute values in the spatial domain with weighting according to one of the earlier described techniques (see FIG. 11);

(2) Sinc functions (sum of cosine components) with weighting according to any one of the earlier described techniques (see FIG. 12),

40. The applicant's co-pending International patent application No. PCT/AU20141000317 describes in some detail waveforms or components thereof represented by sine functions for absolute spatial values. The disclosures of this PCT application are to be considered included herein by nature of this reference.

41. In another variation the filter may be represented by waveform components represented by absolute results of a cosine function in the spatial domain substantially limited to half a cycle at its mid-point. In these embodiments the waveforms or components thereof may be modified by applying an averaging curve having a width adjusted proportional to the wavelength of the respective waveforms or components. This modification of the waveforms is discussed in the applicant's co-pending International patent application No. PCT/AU2014/000321 the disclosures of which are to be considered included herein by nature of this reference.

42. FIG. 13 illustrates a topographic view of a filter derived from sine functions but without weighting. Although this filter may not be as effective in for example providing clear rendering of a digital image having relative fine detail and requiring high resolution processing, it is nonetheless broadly within the scope and disclosures of the present specification.

43. FIG. 14 is a topographic view of another filter derived from square-wave components. The representative waveform from which the weightings for the filter are derived is shown in FIG. 4. The waveforms are calculated for each of the x and y coordinates and multiplied to obtain the indicative or hypothetical waveform. This is effectively the same as the techniques of FIGS. 3A and 3B except the cosine components are replaced with squarewave components, and the waveform components separately represent the waveform in the x and y axes. 44. The described embodiments of the digital image processing have various applications including but not limited to:

(1) anti-aliasing;

(2) enlarging or expanding the digital image;

(3) shifting by translating and/or rotating the digital image.

45. In the case of anti-aliasing, the intention is to minimise distortion artefacts when representing a relatively detailed image at a lower resolution. In this application the digital image is enlarged and a filter constructed using one of the techniques of the preferred embodiment. The filter is applied to the enlarged image to effect the neighbouring sample points for smoothing of the image. The image then undergoes a sample resolution decrease by in effect removing the intermediate sample points.

46. In the case of enlarging or expanding, the digital image is processed by insertion of additional or intermediate sample points in the form of additional rows and columns of pixels as described earlier. The number of rows/columns of inserted pixels is proportional to the scale at which the digital image is to be enlarged. The intermediate sample points are then populated according to one of the described techniques of the preferred embodiment. The image may also be smoothed by application of a filter derived from the waveforms adopted in populating the intermediate points. In this application the process may not require a subsequent decrease in the sample resolution.

47. In the case of image translation, the digital image is enlarged and intermediate sample points populated according to one of the preferred techniques. In order to effect the translation or rotation, the relevant neighbouring and/or intermediate sample points are then moved to target locations in the enlarged grid. This movement is typically effected according to a pre-determined shifting algorithm which provides the desired translation or rotation. The shifted and enlarged image then undergoes a sample resolution decrease to revert to its original size.

48. It is to be understood that the methods and techniques described can be implemented as computer-readable instructions stored on a computer-readable medium. The computer-readable instructions can be executed by a processor of practically any computer system including desktop, portable, tablet, hand-held, and/or any other computer device.

49. It is also to be understood that the present invention extends to computer-readable media for carrying or having, computer-executable instructions stored thereon. The computer-readable media include RAM, ROM, EEPORM, CD-ROM or other optical disc storage, magnetic disc storages, or any other medium which carries or stores program code means in the form of computer-executable instructions. In the event of information being transferred or provided over a network or another communications connection to a computer, the computer is to be understood as viewing the connection (hardwired, wireless, or a combination thereof) as a computer-readable medium.

50. The contents of the applicant's following co-pending patent applications are to be taken as incorporated herein by these references:

(1) PCT/AU2014/000318 titled “Audio Sample Rate Increases”;

(2) PCT/AU2014/000319 titled “Audio Filtering with Virtual Sample Rate Increases”;

(3) US provisional patent application No. 61/974,326 titled “Improved Audio Processing”.

51. Now that several preferred embodiments of the invention have been described it will be apparent to those skilled in the art that the method of processing a digital image has at least the following advantages:

(1) The preferred techniques adopted in increasing the sample resolution of the digital image account for the weighted influence of neighbouring sample points;

(2) The influence of the neighbouring sample points in populating intermediate sample points for the image is weighted for clearer rendering of the image;

(3) The techniques used in determining the overall weighting of the influence of the predetermined number of neighbouring sample points lend themselves to trigonometry;

(4) The trigonometry adopted in the preferred techniques can be expressed n relatively simple algorithms.

52. Those skilled in the art will appreciate that the invention described herein is susceptible to variations and modifications other than those specifically described. For example, the invention may extend to other applications where increasing the sample resolution of the digital image is required in its processing. The specific techniques in calculating the influence of neighbouring sample points on intermediate sample points are not intended to be limiting. The techniques may involve trigonometric functions other than those described. The image filter(s) may be constructed or represented by fast fourier transform (FFT) algorithms rather than the trigonometric functions described in the preferred embodiments, such as the cosine and/or sine components. It is also possible that convolution can be applied in the frequency domain instead of the spatial domain. For example filtering in the frequency domain can involve application of FFT algorithms.

53. All such variations and modifications are to be considered within the scope of the present invention the nature of which is to be determined from the foregoing description. 

1. A method of processing a digital image, said method comprising the steps of: increasing the sample resolution of the digital image from a predetermined resolution including neighbouring sample points to an increased resolution including intermediate sample points between adjacent of the neighbouring sample points; populating each of the intermediate sample points depending on the influence of a predetermined number of the neighbouring sample points, the influence of the predetermined number of neighbouring points being weighted substantially proportional to the proximity of the neighbouring sample points relative to the respective intermediate sample points.
 2. A method as defined in claim 1 wherein the digital image includes a grid of pixels each located at respective of the neighbouring sample points and arranged in m columns and n rows.
 3. A method as defined in claim 2 wherein the step of increasing the sample resolution involves enlarging the digital image in at least one of orthogonal x, y axes to expose additional pixels at each of the intermediate sample points to provide an enlarged grid including am columns and bn rows where a and b represents the expansion factors in the x and y axes, respectively.
 4. A method as defined in claim 2 wherein the step of populating each of the intermediate sample points involves (i) representing one of the neighbouring sample points by a waveform indicative of the neighbouring sample point and oriented in a z-axis substantially orthogonal relative to the grid of pixels (ii) rotating the indicative waveform about the neighbouring sample point to intersect with the intermediate sample point (iii) deriving a weighted value for that neighbouring sample point from its intersection value at the intermediate sample point.
 5. A method as defined in claim 2 wherein the step of populating each of the intermediate sample points involves: (i) representing one of the neighbouring sample points by a pair of component waveforms indicative of the neighbouring sample point and oriented in a z-axis substantially orthogonal relative to the grid of pixels; (ii) combining the pair of component waveforms to obtain an indicative waveform; (iii) deriving a weighted value for that neighbouring sample point from an intersection of the indicative waveform with the intermediate sample point.
 6. A method as defined in claim 4 wherein each of the indicative waveforms is represented in the spatial domain by a mathematical function and the waveforms are each symmetrical either side of the respective neighbouring sample point.
 7. A method as defined in claim 4 wherein the indicative waveforms are symmetrical either side of a point midway between the respective neighbouring sample point and the intermediate sample point.
 8. (canceled)
 9. A method as defined in claim 2 wherein the step of populating each of the intermediate sample points involves (i) representing each of the respective intermediate sample points by a hypothetical waveform indicative of one of the neighbouring sample points and oriented in a z-axis substantially orthogonal relative to the grid of pixels (ii) rotating the hypothetical waveform about the intermediate sample point to intersect with the neighbouring sample point (iii) deriving a weighted value for that neighbouring sample point from its intersection value.
 10. A method as defined in claim 2 wherein the step of populating each of the intermediate sample points involves (i) representing the intermediate sample point by a pair of component waveforms indicative of one of the neighbouring sample points and oriented in a z-axis substantially orthogonal relative to the grid of pixels (ii) combining the pair of component waveforms to obtain a hypothetical waveform (iii) deriving a weighted value for that neighbouring sample point form an intersection of the hypothetical waveform with the neighbouring sample point.
 11. A method as defined in claim 9 wherein each of the hypothetical waveforms is represented in the spatial domain by a mathematical function and the waveforms are each symmetrical either side of the intermediate sample point.
 12. (canceled)
 13. (canceled)
 14. A method as defined in claim 1 also comprising the steps: providing a digital filter having a sample resolution substantially the same as the predetermined resolution of the digital image, said filter including a mid-point sample and a plurality of neighbouring sample points either side of the mid-point sample; applying the digital filter to the digital image where: (i) the mid-point sample of the filter is applied to a corresponding sample point of the image; (ii) the neighbouring sample points of the filter are applied to respective of the intermediate sample points, or the neighbouring sample point, of the signal.
 15. A method as defined in claim 14 wherein the filter is expanded in the spatial domain prior to its application to the image.
 16. (canceled)
 17. A method as defined in claim 15 wherein the step of applying the filter involves applying said filter at an adjusted sampling rate inversely proportional to the expansion factor.
 18. A method as defined in claim 17 wherein the filter is applied to the neighbouring sample points as a dot product at half (½) the predetermined resolution.
 19. A method as defined in claim 3 also comprising the step of resizing or reshaping the image by deleting one or more neighbouring or intermediate sample points of the enlarged grid according to a predetermined sizing or reshaping algorithm.
 20. (canceled)
 21. A method as defined in claim 19 also comprising shifting the enlarged digital image by translating predetermined of the neighbouring sample points from existing locations in the enlarged grid to target locations in the enlarged grid according to a predetermined shifting algorithm.
 22. (canceled)
 23. A method as defined in claim 4 wherein the waveforms or their waveform components are represented by absolute results of a cosine function in the spatial domain substantially limited to half a cycle at its midpoint.
 24. A method as defined in claim 4 wherein the indicative or hypothetical waveforms or their waveform components are represented by a sine function of positive values only in the spatial domain.
 25. (canceled)
 26. (canceled)
 27. (canceled)
 28. (canceled)
 29. A non-transitory computer or device-readable medium including instruction for processing a digital image, said instructions when executed by a processor cause said processor to: increase the sample resolution of the digital image from a predetermined resolution including neighbouring sample points to an increased resolution including intermediate sample points between adjacent of the neighbouring sample points; populate each of the intermediate sample points depending on the influence of a predetermined number of the neighbouring sample points, said influence being weighted substantially proportional to the proximity of the neighbouring sample points relative to the respective intermediate points.
 30. A computer system for processing a digital image, said system comprising a processor configured to: increase the sample resolution of the digital image from a predetermined resolution including neighbouring sample points to an increased resolution including intermediate sample points between adjacent of the neighbouring sample points; populate each of the intermediate sample points depending on the influence of a predetermined number of the neighbouring sample points, said influence being weighted substantially proportional to the proximity of the neighbouring sample points relative to the respective intermediate points. 